
#include "Type.h"

#include <cstdio>
#include <cstdlib>
#include <string.h>

COOLangage::Type::Type(const char* name) {
  this->name = strdup(name);
}

COOLangage::Type::~Type() {
  free(name);
}

const char* COOLangage::Type::getName() const {
  return name;
}

